﻿@{
    Html.Kendo().Menu()
              .Name("Menu") //The name of the menu is mandatory. It specifies the "id" attribute of the widget.
              .Items(items =>
              {
                  items.Add().Text("Order")
                      .ImageUrl(Url.Content("~/Content/images/ico-sales.png"))
                      .Action("Index", "SalesOrder");
                  
                  items.Add().Text("Job")
                      .ImageUrl(Url.Content("~/Content/images/ico-dashboard.png"));
                  
                  items.Add().Text("Delivery")
                      .ImageUrl(Url.Content("~/Content/images/ico-promotions.png"))
                      .Enabled(false);
                  
                  items.Add().Text("Inventory")
                      .ImageUrl(Url.Content("~/Content/images/ico-configuration.png"))
                      .Enabled(false);
                  
                  items.Add().Text("Customer")
                      .ImageUrl(Url.Content("~/Content/images/ico-customers.png"))
                      .Enabled(false);

                  items.Add().Text("Product")
                      .Action("Index", "Product");
                  
                  items.Add().Text("Test")
                      .Action("Index", "Test");

              })
              
              .OpenOnClick(false)

              .Render();
}
